<!--  -->
<template>
  <div class="title">{{titleName}}</div>
</template>

<script setup>
import { toRefs } from "vue"

const props = defineProps({
    title:{
       type:String,
       default:"默认标题",
       required:true
    }
})
const { title } = toRefs(props)
</script>
<style scoped>
.title{
    width: 100%;
    height: 100%;
    text-align: left;
    color: #fff;
    font-size: 18px;
}
</style>